package com.roc.service;

import java.util.List;

import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.xssf.streaming.SXSSFWorkbook;

import com.roc.pojo.Operators;
import com.roc.pojo.ProfitDetail;
import com.roc.service.ServiceException;

/**
 * 
 * @author zx-think
 *
 */
public interface IExcelExportService {
	/**
	 * 导出查询
	 * @param reportName 报表名称
	 * @param headArray  列名中文
	 * @param objList   需要展示的数据,顺序和列名要一致
	 * @throws ServiceException
	 */
	public HSSFWorkbook excelExport(String reportName,String[] headArray,List<Object> objList)throws ServiceException;

	/**
	 * 分润确认单
	 * @param operators 
	 * @param list
	 * @param transDate
	 * @return
	 * @throws Exception
	 */
	public  SXSSFWorkbook exportProfit(Operators operators,  List<Object> list,String transDate) throws Exception;
}
